package cn.zc.auth.service.service;

import cn.zc.auth.feign.entity.Dto.StudentUserDto;
import cn.zc.auth.feign.entity.StudentUser;
import cn.zc.auth.feign.entity.VO.StudentUserVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 * 学生用户表 服务类
 * </p>
 *
 * @author keno
 * @since 2022-02-12
 */
public interface StudentUserService extends IService<StudentUser> {

    /**
     * 用户账户密码登录接口
     * @param userName
     * @param passWord
     * @return
     */
    Map<String, Object> studentLogin(String userName, String passWord);

    /**
     * 通过账号获取用户信息
     * @param userName
     * @return
     */
    StudentUser getUserInfoByName(String userName);


    /**
     * 创建账户
     * @param studentUserDto
     */
    void createStudent(StudentUserDto studentUserDto);
}
